Method and system for initiating a login of a user

ABSTRACT

The invention relates to a method for initiating a login (L) of a user into a system, the login (L) being passed by inputting a username into a username field, inputting a password into a password field (S 2 ), and verifying whether the inputted username is stored by the system and whether the inputted password is a stored password corresponding to the inputted username (S 4 ), the method comprising the system requiring during inputting character by character of the username and/or the password in addition waiting a predefined delay (A 2 ) and/or inputting at least one character at at least one position within a character sequence of the username and/or the password, respectively, wherein the at least one character differs from the character of the username at the at least one position when inputting the username and/or differs from the character of the password at the at least one position when inputting the password.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is the United States national stage under 35 U.S.C. §371 of PCT International Patent Application No. PCT/EP2015/001334, filed on Jul. 1, 2015, and claiming priority to European Patent App. No. 14002411.8, filed on Jul. 11, 2014.

BACKGROUND OF THE INVENTION

Field of the Invention

Embodiments relate to methods for initiating a login of a user into a system.

Background of the Related Art

One of the most common authentication methods in modern applications or communication systems is a login form usually comprising a username field, a password field and a login button. Passwords are a common authentication method used in various login forms. Frequently, users type their passwords very fast since they are familiar with the respective character sequence. This fact may lead to invalid password typing and login rejection. In other cases, malicious users try to gain access to another user's account by quickly typing various password guesses in the respective login form.

The problem of password errors due to typing speed is not addressed in any login form or login system in general. The problem of sequential password guesses is addressed in some cases by introducing a limit in login attempts. After this limit is passed the account is locked or further user actions are needed. However, such methods leave the malicious user free to attempt a few fast login attempts before the limit is reached.

The most common way hackers are using for stealing passwords is key logging. This is an application which enables them to log everything of an unsuspected user that types a sensitive combination of characters. In addition, there are other ways than key loggers for stealing passwords, like' looking at ethereal traces, etc.

Till now key loggers were very effective in acquiring passwords and other useful information, like credit card numbers, etc., from innocent people. One method commonly used from user side is copy and paste username and passwords from specific programs such as PasswordSafe, etc. These programs store all keys and credentials and by simply right clicking to one of them user can copy username or password without even watching it and transfer it on the browser or application that requests these data. Also there are login prompts that present an interactive keyboard so that the user will be in position to actually type the password.

BRIEF SUMMARY OF THE INVENTION

Embodiments relate to methods for initiating a login of a user into a system, the login being passed by inputting a username into a username field, inputting a password into a password field, and verifying whether the inputted username is stored by the system and whether the inputted password is a stored password corresponding to the inputted username.

Embodiments may prevent mistakes in password typing and to make password guessing more difficult for malicious user. Embodiments may confuse and to prevent malicious attacks for encrypting password during typing.

By fact that the system requires during inputting character by character of the username and/or the password in addition waiting a predefined delay and/or inputting at least one character at at least one position within a character sequence of the username and/or the password, respectively, wherein the at least one character differs from the character of the username at the at least one position when inputting the username and/or differs from the character of the password at the at least one position when inputting the password any mistake in password typing and malicious password guessing is detected and prevented. This functionality minimizes security issues during initiation of a user login.

BRIEF DESCRIPTION OF THE FIGURES

FIG. 1A and FIG. 1B each show a block diagram of a known method for initiating a login of a user into a system;

FIG. 2 shows a block diagram of a login procedure according to an embodiment of the invention.

FIG. 3 shows a block diagram of a password safe mechanism according to an embodiment of the invention.

FIG. 4 shows a block diagram of another password safe mechanism according to an embodiment of the invention.

FIG. 5 shows a block diagram of another password safe mechanism according to an embodiment of the invention.

DETAILED DESCRIPTION OF THE INVENTION

Embodiments reported herein provide a delay mechanism used upon password characters' typing. By delaying the password typing, the probability of a typing mistake is reduced. The decision box “Is the character a correct username character” will lead in the correct state more times during password typing. Thus, via the method according to the invention invalid login attempts are reduced. Moreover, by stalling the password typing procedure, a malicious user has fewer chances to guess a password by quickly typing his guesses, especially in monitored environments.

The invention further provides a method for manually encrypting a password. Due to the password safe mechanism users can put their pin, password or any sensitive data without having the feeling of being spied. Even if a hacker gets the password is so messed up that until he deducts it the user will be notified for the false attempts and change it immediately. The method according to the invention can be applied in banking systems, web logins or high security restricted areas entrance points.

In a preferred embodiment of the invention the delay, the at least one character and/or the respective position within the username and/or the password character sequence are generated randomly by the system. In this way, an immediate inputting of username or password characters one after another is disabled and, thus, a high security level is implemented into the login mechanism.

In a highly preferred embodiment of the invention, after each time a character is inputted by the user, the system decides if a delay or any at least one character is added. This has the advantage of a high security level login and password safe mechanism.

A higher security level of the login mechanism is achieved by a preferred embodiment wherein during the delay the user input is blocked and any inserted character is ignored.

The user friendliness of the login mechanism is increased by another preferred embodiment wherein in case a delay is added the system generates an output to the user.

A further development of the method according to the invention also provides increased user friendliness. This development is characterized in that the user is notified via a visual and/or acoustic signal if he tries to input a character during the delay.

Furthermore, an output of the system can be generated when the user presses a login button and/or when the login is passed. This allows an immediate feedback to the user in case login is finished and successful, respectively.

A secure and user-friendly login service is provided by an embodiment of the invention wherein the at least one character to be inputted in addition is displayed, in particular shown on a screen, to the user.

In a preferred embodiment of the invention during the request the user input is blocked from entering any other character than the one displayed. In this way an accidental input of any non-requested character is detectable and therefore preventable.

Increased user friendliness and minimized risk of input errors are provided by an embodiment wherein in case the user has typed a character before blocking is initiated this character is stored by the system as the real username character and/or password character and held until the user presses OK.

In a preferred embodiment of the invention the at least one character and/or the respective position within the username and/or password character sequence are generated by the system according to at least one rule, in particular taking into account the preceding part of the username and/or password. The advantage is to introduce a new method for password safe mechanism with characters actually planting non-existent but relevant to the password's contents for better encryption and anti-key logging attacks.

In a highly preferred embodiment of the invention the respective rule comprises

-   -   Adding a random number after a number, or     -   Evaluating previous typed characters against a dictionary and if         the word is noun adding ‘s’ or if the word contains a name         adding a character or a digraph which changes its gender or         gives a nickname meaning, or     -   Adding ‘7’, ‘8’, ‘9’ or ‘0’, ‘1’ respectively after one or two         symbols if ‘19’ or ‘20’ is found, or     -   Adding a specific consonant after a vowel, like adding a ‘n’         after ‘o’s or ‘i’s, or     -   Adding a ‘ng’ after an I, or     -   Adding an ‘s’ after ‘e’, or     -   Adding non alphanumeric characters at the end or the beginning         of the password.

Also within the scope of the invention is a system, comprising a username field for input of a username, a password field for input of a password, a storage unit for storing of the username and the password, a login unit for verification of an inputted username and an inputted password in comparison with the stored username and the password corresponding to the stored username, the system being configured such that the login unit is able to require during inputting of the username and/or the password in addition waiting a predefined delay and/or inputting at least one character at at least one position within a character sequence of the username and/or the password, respectively, wherein the at least one character differs from the character of the username at the at least one position when inputting the username and/or differs from the character of the password at the at least one position when inputting the password.

In a preferred embodiment of the system the username field and the password field are integrated into an interface, like a display or a touch screen.

Embodiments may further include an electronic device, in particular a smartphone or a tablet, with a system according to the invention.

Further features and advantages of the invention are disclosed by the enclosed drawing and the corresponding description. The features mentioned above and below can be used in accordance with the invention either individually or collectively in any combination. The embodiments mentioned are not to be understood as exhaustive enumeration but rather have exemplary character for the description of the invention.

FIG. 1A illustrates a method known from state of the art for initiating a login of a user into a system. In a first step s1 a password field is selected by a user. In a second step s2 the system verifies whether the user enters a character into the password field. In case of YES the character is added to the password string in a third step s3. As long as the verification result is YES and the user input goes on steps s2 and s3 are repeated. In case of NO wherein typically the user presses the login button the system verifies whether the password is correct in a fourth step s4 and it succeeds either login fail F or login success L.

In FIG. 1A the problem of password error due to typing speed is described. If the user types the password characters fast in steps s2 and s3 there is big probability that a wrong character will be pressed. In this case the login procedure will certainly fail in step F.

The problem of speed password guessing is described in FIG. 1B. FIG. 1B differs from FIG. 1A in that login procedure comprising steps s2-s4 is repeated in case of password retry until input of correct password and successful login L. A malicious user may repeat the whole login procedure according to FIG. 1A many times and have more chances to succeed a login L to a victim's account.

A login procedure comprising the security mechanism according to the invention is illustrated by FIG. 2. The method stalls password typing by way of additional steps A1 to A4 between second S2 and third step S3 of login procedure. In a first additional step A1 after each character pressed by the user the system decides if a delay will be added. In case of NO the character is added to the password string in the third step S3. The decision of additional step A1 is made according to the configuration previously performed by the system administrator. The frequency and duration of the delay are defined by probabilities and may differ from system to system.

In case of YES a delay timer starts in a second additional step A2 and ends in a fourth additional step A4. During the delay, the user input is blocked. In a third additional step A3.1 between second and fourth additional steps A2 and A4 the system verifies whether the user has inserted a character into the password field during the delay. In case of user input during delay an optical and/or audio signal is generated and the character is ignored in additional step A3.2. The user is notified via a visual and acoustic signal if he tries to press a character during the delay. In this case the character will have to be inserted again by the user in step S2 succeeding additional step A4, i.e. after the delay ends.

Another security mechanism according to the invention for login procedures is illustrated by FIG. 3 wherein user side is shown on the left and application/system side on the right. In second step S2 user types a character read by the system. In the first additional step A1 after each character typed by the user the system decides whether a new random character is required. In case of YES the system generates randomly a character, e.g. ‘Y’, displayed at user side in the second additional step A2.1. The user types a character in additional step A2.2 wherein the system blocks any other non-identical character to be typed.

In the third additional step A3 the system verifies whether the user typed the correct character, e.g. ‘Y’. In case of NO the system deletes from frontend the mistyped character in additional step A4.1 and goes back to display of the requested character at user side in additional step A2.1. In case of YES the systems allows all characters to be accepted again in additional step A4.2. In fifth additional step A5 the system verifies whether the user has finished his input, e.g. by pressing the button OK. In case of NO the system is brought back to the beginning of the security mechanism at step S2 on application side. In case of YES a sixth additional step A6 succeeds wherein the system removes the random character, e.g. ‘Y’, from password authentication and proceeds with authentication according to step S4.

In the illustration of FIG. 3 it can easily be seen that when user types the password, at random point in time, application/system generates a random character on his screen, step A2.1, and blocks him from entering other character than the one shown, step A2.2. On successful entry user is allowed to type the rest of the password, steps A6, S2. This process can be repeated depending on the application, for better security this process can be repeated above 4 times so that the password is well hidden having random non correct characters in it.

FIG. 4 illustrates a fast typing protection and differs from FIG. 3 in that according to preceding step S0 the user has typed a character before blocking is initiated by the system. In case said character is received by the system in additional step A2.3 succeeding random character generation and user input blocking according to additional steps A2.1, A2.2, the character is put into buffer B. During finishing sixth additional step A6 the buffered character is re-inserted by the system into the login procedure.

In FIG. 4 a more sophisticated approach is attempted taken into consideration the fact that the system and application, respectively, is on the internet and the requests/responses can take time. The security mechanism illustrated in FIG. 4 can have the negative effect that fast users will type a character that essentially is not the one requested by the application, before application really blocks them requesting the intervened character. In the illustration of FIG. 4 it can be seen that in such case this characters are stored as real password characters in buffer B and will be held from server side until user presses OK. In such case these characters are in their respective username or password positions.

FIG. 5 illustrates an enhanced functionality of related letters mechanism and differs from FIG. 4 in that according to preceding additional step A0 between steps S2 and A1 the system verifies whether the precedent character or combination is in one of the rules. Thereby the system makes use of a dictionary and set of rules R.

A technical feature or several technical features which has/have been disclosed with respect to a single or several embodiments disclosed herein before, e. g. starting a delay timer in FIG. 2, may be present also in another embodiment, e. g. generating randomly a character and blocking a user from other entry in FIGS. 3, 4, and 5, except it is/they are specified not to be present or it is impossible for it/them to be present for technical reasons. 

1-15. (canceled)
 16. A method for initiating a login of a user into a system, comprising: requiring, by a system into which a user is logging in, during character input by the user of at least one of a username into a username field and a password into a password field, at least one of waiting a delay and inputting at least one character at at least one position within the username or the password, wherein the at least one character differs from at least one of a character at said position within the username and a character at said position within the password; and verifying whether the username is stored by the system and whether the password is a stored password corresponding to the input username.
 17. The method of claim 16, further comprising randomly generating, by the system, at least one of the delay, the at least one character, the position within the username, and the position within the password.
 18. The method of claim 16, further comprising, after each time a character is input by the user, deciding if a delay or at least one character is added.
 19. The method of claim 16, further comprising blocking user input and ignoring inserted characters during the delay.
 20. The method of claim 16, further comprising generating an output to the user when the delay is added.
 21. The method of claim 20, further comprising notifying the user via at least one of a visual signal and an acoustic signal when the user tries to input a character during the delay.
 22. The method of claim 16, further comprising generating an output from the system when at least one event occurs, the event selected from the group consisting of the user pressing a login button and the login being passed.
 23. The method of claim 16, further comprising displaying on a screen the at least one character to be input.
 24. The method of claim 23, further comprising blocking input of any character other than the at least one character that is displayed on the screen.
 25. The method of claim 24, further comprising, when the user has typed a character before blocking is initiated, storing the typed character by the system as a real username character or a real password character and holding the typed character until the user presses an approved input.
 26. The method of claim 16, comprising generating the at least one character or the respective position within the username and password character sequence by the system according to at least one rule, wherein said rule takes into account a preceding part of the username or password.
 27. The method of claim 26, wherein the rule comprises at least one step selected from the group consisting of: adding a random number after a number; evaluating previous typed characters against a dictionary and, if a word is a noun adding ‘s’ or if the word contains a name adding a character or a digraph that changes the names gender or gives a nickname; adding ‘7’, ‘8’, ‘9’ or ‘0’, ‘1’ respectively after one or two symbols if ‘19’ or ‘20’ is found; adding a specific consonant after a vowel; adding an ‘ng’ after an “i”; adding an ‘s’ after ‘e’; adding non-alphanumeric characters at the end of the password; and adding non-alphanumeric characters at the beginning of the password.
 28. A system comprising: a username field for input of an input username; a password field for input of an input password; a storage unit for storing of a stored username and a stored password; a login unit for verification of the input username and the input password in comparison with the stored username and the stored password corresponding to the stored username, the system being configured such that the login unit is able to require, during input of at least one of the input username and the input password, at least one of waiting a predefined delay and input of at least one character at at least one position within a character sequence of the stored username and the stored password, respectively, wherein the at least one character differs from the character of the stored username at the at least one position when inputting the input username or differs from the character of the stored password at the at least one position when inputting the input password.
 29. The system according to claim 28, wherein the username field and the password field are integrated into an interface.
 30. An electronic device operating a system according to claim
 28. 